package com.qys.livesMall.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 平台广告管理的轮播图
 * </p>
 *
 * @author wzy
 * @since 2023-07-05
 */
@Getter
@Setter
@TableName("h2_platform_advertisement_detail")
@Schema(name = "H2PlatformAdvertisementDetail", description = "平台广告管理的轮播图")
public class H2PlatformAdvertisementDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "平台广告管理主键")
    private Long pid;

    @Schema(description = "轮播图路径")
    private String imgUrl;

    @Schema(description = "跳转路径")
    private String url;

    @Schema(description = "排序")
    private Integer sortNum;
}
